<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div class="model" style="display: none;" id="upload-stu">
    <div class="title">
        <h1>上传学生数据</h1>
        <i class="fa fa-close" id="close-model"></i>
    </div>
    <form action="<c:url value="/file?action=upload"/> " method="post" enctype="multipart/form-data">
        <div class="box" style="height: 170px;">
            <div class="upload" id="my-file">
                <i class="fa fa-cloud-upload"></i>
                <span>点击上传Excel文件</span>
                <input class="file-input" name="data"
                       accept=".csv, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
                       type="file" hidden>
            </div>
            <div class="list-file">
            </div>
        </div>
        <div class="me-add-option">
            <label><i class="fa fa-upload"></i><input type="submit" value="上传" id="submit"></label>
            <label><i class="fa fa-hand-pointer-o"></i><input type="reset" value="重置" id="reset"></label>
        </div>
    </form>
</div>
